package com.zw.yzk.kabu.data.network.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zhanwei on 2017/5/17.
 */

public class SearchTopicEntity extends Entity {
    @Expose
    @SerializedName("result")
    public Result result;

    public SearchTopicEntity() {
        this.result = new Result();
        result.topicList = new ArrayList<>();
    }

    public static class Result {
        @Expose
        @SerializedName("total_rows")
        public int total;
        @Expose
        @SerializedName("cosplaytopic_list")
        public List<Topic> topicList;
    }

    public static class Topic {
        @Expose
        @SerializedName("cosplaytopic_user_id")
        public int userId;
        @Expose
        @SerializedName("cosplaytopic_cover_img_url")
        public String image;
        @Expose
        @SerializedName("cosplaytopic_id")
        public int topicId;
        @Expose
        @SerializedName("cosplaytopic_cosplay_number")
        public int topicCosCount;
        @Expose
        @SerializedName("cosplaytopic_uuid")
        public String topicUUID;
        @Expose
        @SerializedName("cosplaytopic_content")
        public String topicContent;
        @Expose
        @SerializedName("cosplaytopic_user_nickname")
        public String userName;
        @Expose
        @SerializedName("cosplaytopic_cosplay_id")
        public String topicCosId;
        @Expose
        @SerializedName("cosplaytopic_create_time")
        public String createTime;
    }
}
